{extend name="../../admin/view/public/admin"}

{block name='content'}

<div class="page-header">当前位置：<span class="text-primary">当前登录账号</span></div>

<style>
    .tabs-container .form-group {overflow: hidden;}
    .tabs-container .tabs-left > .nav-tabs {}
    .tab-goods .nav li {float:left;}
</style>

<div class="page-content">

    <form action="" method="post" class="form-horizontal form-validate" enctype="multipart/form-data">
        <input type="hidden" id="tab" name="tab" value="{if empty($_GPC['tab'])}#tab_basic{else}#tab_{$_GPC['tab']}{/if}" />

        <div class="tabs-container tab-goods">
            <div class="tabs-left">
                <ul class="nav nav-tabs" id="myTab" style="display: none;">
                    <li  {if empty($_GPC['tab']) || $_GPC['tab']=='basic'}class="active"{/if}><a href="#tab_basic">账号设置</a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-content">

                        <div class="tab-pane {if empty($_GPC['tab']) || $_GPC['tab']=='basic'}active{/if}" id="tab_basic">
                            <div class="panel-body">

                                <div class="form-group">
                                    <label class="col-lg control-label">当前账号</label>
                                    <div class="col-sm-9 col-xs-12">
                                        <input type="text" name="username" class="form-control" value="{$userInfo['username']}"/>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-lg control-label">原始密码</label>
                                    <div class="col-sm-9 col-xs-12">
                                        <input type="text" name="password" class="form-control" value=""/>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-lg control-label">新密码</label>
                                    <div class="col-sm-9 col-xs-12">
                                        <input type="text" name="newPassword" class="form-control" value=""/>
                                    </div>
                                </div>

                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-lg control-label"></label>
            <div class="col-sm-9 col-xs-12">
                <input type="submit" value="提交" class="btn btn-primary"/>
            </div>
        </div>

    </form>



</div>

{/block}